package com.hs.homework_01.service;

import com.github.pagehelper.PageInfo;
import com.hs.homework_01.entity.Student;
import com.hs.homework_01.entity.User;

public interface StudentService {
    PageInfo<Student> findByPage(Integer pageNum,Integer pageSize);

    Student findById(Integer id);

    int updateStudent(Student student);

    int addStudent(Student student);

    int removeStudent(Integer id);
}
